package com.magic.zhixin.service;

import com.magic.zhixin.entity.WeixinNotifyData;
import com.magic.zhixin.repository.WeiXinNotifyDataRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class WeixinNotifyDataService {
    @Autowired
    private WeiXinNotifyDataRepository weiXinNotifyDataRepository;

    @Transactional
    public void add(WeixinNotifyData weixinNotifyData) {
        weiXinNotifyDataRepository.save(weixinNotifyData);
    }
}
